<?php

/**
 * Description of AccessPage
 *
 * @author Adam
 */
class AccessPage {
    private $id;
    private $name;
    private $sub;
    private $perm;
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }

    public function getSub() {
        return $this->sub;
    }

    public function setSub($sub) {
        $this->sub = $sub;
    }

    public function getPerm() {
        return $this->perm;
    }

    public function setPerm($perm) {
        $this->perm = $perm;
    }
    
    public function __toString() {
        return $this->name . " " . $this->sub . " " . $this->perm;
    }

}

?>
